package org.omg.GIOP;

//

import com.cognition.util.marshal.JavaPrimitiveInputStream;
import com.cognition.util.marshal.JavaPrimitiveOutputStream;
import java.io.IOException;

// Struct definition : RequestHeader_1_0
//
// @author OpenORB Compiler
//
public final class RequestHeader_1_0 implements org.omg.CORBA.portable.IDLEntity
{
	//
	// Struct member service_context
	//
	public org.omg.IOP.ServiceContext[] service_context;

	//
	// Struct member request_id
	//
	public int request_id;

	//
	// Struct member response_expected
	//
	public boolean response_expected;

	//
	// Struct member object_key
	//
	public byte[] object_key;

	//
	// Struct member operation
	//
	public String operation;

	//
	// Struct member requesting_principal
	//
	public byte[] requesting_principal;

	//
	// Default constructor
	//
	public RequestHeader_1_0()
	{ }

	//
	// Constructor with fields initialization
	// @param	service_context	service_context struct member
	// @param	request_id	request_id struct member
	// @param	response_expected	response_expected struct member
	// @param	object_key	object_key struct member
	// @param	operation	operation struct member
	// @param	requesting_principal	requesting_principal struct member
	//
	public RequestHeader_1_0( org.omg.IOP.ServiceContext[] service_context, int request_id, boolean response_expected, byte[] object_key, String operation, byte[] requesting_principal )
	{
		this.service_context = service_context;
		this.request_id = request_id;
		this.response_expected = response_expected;
		this.object_key = object_key;
		this.operation = operation;
		this.requesting_principal = requesting_principal;
	}


}
